package GUI.UI.Events
{
    public class UIScrollEvent extends UIEvent
    {
        public static const SCROLL_MORE:String = "SCROLL_MORE";
        public static const SCROLL_LESS:String = "SCROLL_LESS";
        
        protected var _vertical:Boolean;
        
        public function UIScrollEvent(type:String, directionVertical:Boolean=true)
        {
            super(type);
            
            vertical = directionVertical;
        }

        public function get vertical():Boolean
        {
            return _vertical;
        }

        public function set vertical(value:Boolean):void
        {
            _vertical = value;
        }

    }
}